home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 4
/
QRZ Ham Radio Callsign Database - Volume 4.iso
/
files
/
satelite
/
hightime.arc
/
HIGHTIME.C
next >
Wrap
Text File
|
1991-01-13
|
419b
|
27 lines
#include <stdio.h>
#include <time.h>
long int i,h;
main()
{
i = time(NULL);
printf("\nHIGHTIME.PG modification program by SM0TER \n");
printf("\nHIGHTIME NOW IN HEX IS = %lx\n",i);
printf("\nEnter whole hours to subtract ");
scanf("%d",&h);
h = h * 0xe10; /* 0xe10 is 3600 seconds = 1 hour */
printf("\nENTER THE FOLLOWING VALUE IN HIGHTIME.PG FILE %lx\n\n",i-h);
}